package com.zp.business.entity.register.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.zp.common.excel.annotation.ExcelDictFormat;
import com.zp.common.excel.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 门诊挂号费用明细视图对象
 *
 * @author zhang peng
 * @ date 2023-12-23
 */
@Data
@ExcelIgnoreUnannotated
public class ClinicMasterCostVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private String id;

    /**
     * 病人信息Id
     */
    @ExcelProperty(value = "病人信息Id")
    private String patientId;

    /**
     * 门诊记录就诊临时表
     */
    @ExcelProperty(value = "门诊记录就诊临时表")
    private String clinicTempId;

    /**
     * 项目类型
     */
    @ExcelProperty(value = "项目类型")
    private String itemClass;

    /**
     * 诊疗项目名称
     */
    @ExcelProperty(value = "诊疗项目名称")
    private String packItemName;

    /**
     * 项目名称
     */
    @ExcelProperty(value = "项目名称")
    private String itemName;

    /**
     * 项目编码
     */
    @ExcelProperty(value = "项目编码")
    private String itemCode;

    /**
     * 价表ID
     */
    @ExcelProperty(value = "价表ID")
    private String priceId;

    /**
     * 网络价格
     */
    @ExcelProperty(value = "网络价格")
    private BigDecimal networkPrice;

    /**
     * 进货价格
     */
    @ExcelProperty(value = "进货价格")
    private BigDecimal tradePrice;

    /**
     * 单价
     */
    @ExcelProperty(value = "单价")
    private BigDecimal price;

    /**
     * 应收
     */
    @ExcelProperty(value = "应收")
    private BigDecimal costs;

    /**
     * 实收
     */
    @ExcelProperty(value = "实收")
    private BigDecimal charges;

    /**
     * 舍入差额
     */
    @ExcelProperty(value = "舍入差额")
    private BigDecimal diffCost;

    /**
     * 项目数量
     */
    @ExcelProperty(value = "项目数量")
    private BigDecimal num;

    /**
     * 医保自付比例
     */
    @ExcelProperty(value = "医保自付比例")
    private BigDecimal medicalScale;

    /**
     * 收费号
     */
    @ExcelProperty(value = "收费号")
    private String rcptNo;

    /**
     * 门诊费用分类
     */
    @ExcelProperty(value = "门诊费用分类", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "outp_rcpt_fee_dict")
    private String classOnRcpt;

    /**
     * 核算项目科目
     */
    @ExcelProperty(value = "核算项目科目", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "reck_item_class_dict")
    private String classOnReckoning;

    /**
     * 会计科目
     */
    @ExcelProperty(value = "会计科目", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "tally_subject_dict")
    private String subjCode;

    /**
     * 收费系数
     */
    @ExcelProperty(value = "收费系数")
    private BigDecimal coefficient;

    /**
     * 规格
     */
    @ExcelProperty(value = "规格")
    private String spec;

    /**
     * 单位
     */
    @ExcelProperty(value = "单位", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "spec_unit")
    private String unit;

    /**
     * 机构ID
     */
    @ExcelProperty(value = "机构ID")
    private String orgId;

    /**
     * 用药天数
     */
    @ExcelProperty(value = "用药天数")
    private Integer abidance;

    /**
     * 途径
     */
    @ExcelProperty(value = "途径")
    private String channel;

    /**
     * 频次
     */
    @ExcelProperty(value = "频次")
    private String performFreq;

    /**
     * 单次用量
     */
    @ExcelProperty(value = "单次用量")
    private BigDecimal singleDosage;

    /**
     * 用量单位
     */
    @ExcelProperty(value = "用量单位")
    private String singleUnitName;

    /**
     * 开单人
     */
    @ExcelProperty(value = "开单人")
    private String implementUser;

    /**
     * 开单科室
     */
    @ExcelProperty(value = "开单科室")
    private String implementDept;

    /**
     * 备注信息
     */
    @ExcelProperty(value = "备注信息")
    private String remarks;

    /**
     * 医保是否上传 1上传 0未上传
     */
    @ExcelProperty(value = "医保是否上传 1上传 0未上传")
    private String isUpload;

    /**
     * 医保审核标志Y审核通过，N未审核
     */
    @ExcelProperty(value = "医保审核标志Y审核通过，N未审核 ", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    private String medicalVerifyFlag;


}
